<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>查看器材</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
    <jsp:include page="_Member.jsp" />
</div>

<div class="right_col" role="main" style="height:656px">
    <div class="row">
        <div class="col-md-12">
            <ul class="list-inline">
                <li>器材列表</li>

            </ul>

            <hr>

            <table class="table">
                <thead>
                <tr>
                    <th>器材编号</th>
                    <th>器材姓名</th>
                    <th>所属部门</th>
                    <th>所在位置</th>
                </tr>
                </thead>

                <tbody>
                <c:forEach items="${equipmentList }" var="equipment">
                    <tr>
                        <td>${equipment.id}</td>
                        <td>${equipment.equipmentName}</td>
                        <td>${equipment.departmentNa }</td>
                        <td>${equipment.position}</td>
                    </tr>
                </c:forEach>
                </tbody>
            </table>


        </div>
    </div>

</div>
</body>
</html>